package cn.hrfax.stf.sdk.config;

import cn.hrfax.stf.sdk.template.ActionTemplate;
import cn.hrfax.stf.sdk.template.ActionTemplateImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 模板
 * @author yongSen.wang
 * @date 2020/6/3 16:03
 */
@Configuration
public class ActionConfig {

    @Bean
    @ConditionalOnMissingBean
    ActionTemplate actionTemplate() {
        return new ActionTemplateImpl();
    }

}
